import Vue from 'vue'
import Router from 'vue-router'
import moive from '@/components/movie'
import music from '@/components/music'
import subject from '@/components/subject'
Vue.use(Router)



export default new Router({
  routes: [
    {
      path: '/',
      name: 'movie',
      component: moive
    },
    {
      path: '/music',
      name: 'music',
      component: music
    },
    {
      path: '/subject/:subjectId/:subjectTitle',
      name: 'subject',
      component: subject
    }
  ]
})
